package com.learn.hibernatevalidator.chapter04.resourcebundlelocator;

import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author: liyf
 * @create: 2025-01-04 23:07
 **/
@Data
public class Car {

    @NotNull
    private String licensePlate;

    @Max(300)
    private int topSpeed = 400;
}
